<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/accountAystem/addpage.css" />
    <![endif]-->
    <title></title>
</head>
<body>
<nav class="breadcrumb">运营管理 <span class="c-gray en">&gt;</span> 资源位管理 <span class="c-gray en">&gt;</span> 首页配置 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <div id="tab_topnav" class="HuiTab">
        <div class="tabBar clearfix">
            <span >品类管理</span>
            <span >商品管理</span>
        </div>
        <!--楼层编辑-->
        <div class="tabCon bk-gray bg-1" style="display: none;">
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                    <label class="form-label f-l w-85 text-r lh-26">上传图片：</label>
                                    <div class="ceshi pic_up" style="width: 84px;height: 84px;">
                                        <img title=""  style="width: 84px;height: 84px;"  id="pcUrl" src="" class="myImg" class="mr-10">
                                    </div>
                                    <div class="pic_up_btn" style="margin-top: 10px">
                                        <input value="{{=it.group_business_license_addr}}" id="fileUp1" style="display: none">
                                        <input type="file" class="fileUp"  onchange="putDataToPage(event,this)" multiple="multiple" style="display: none">
                                        </input>
                                        <a class="btn btn-secondary radius size-S"  id="fileUpone" onclick="addBtn(this)" style="margin-left: -162px"><span id="pcxuan">选择图片</span></a>
                                        <br> <span  style="margin-left: -167px;color: #dd0000">图片尺寸：232px*550px</span>
                                    </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">

                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">

                            </div>
                        </td>

                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26" style="width: 88px;">关联二级分类：</label>

                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <div class="clearfix pb-20" id="cateLevel">
                                    <div class="class-wp27 f-l">
                                        <div class="pd-5"><strong>一级分类名称</strong></div>
                                        <ul class="bk-gray pt-5" id="classSet1" style="width: 223px;"></ul>
                                    </div>
                                    <div class="class-wp27 f-l" style="display: none;margin-left: 159px;" id="classDiv2" >
                                        <div class="pd-5"><strong>二级分类名称</strong></div>
                                        <ul class="bk-gray pt-5" id="classSet2" style="height: 331px;width: 223px;"></ul>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>

                    </thead>
                </table>
                <div class="text-c pt-10 pb-20">
                    <input id="" type="submit" class="btn btn-secondary radius size-S botter ml-10" onclick="floorInformation()" value="确&nbsp;&nbsp;定">
                    <input name="" onclick="floorInforclose()" type="reset" class="btn radius size-S ml-10" value="取&nbsp;&nbsp;消">
                </div>
            </div>
        </div>
        <!--关联商品-->
        <div class="tabCon bk-gray bg-1" style="display: block;">
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <thead class="text-l">
                    <tr>
                        <td class="col-6-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">code码：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 255px;" class="input-text radius ml-10 w-150" id="skuCodes"   placeholder="请输入code码"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-6-1">
                            <div class="row">
                                <input   style="margin-left: -326px;"  type="button" class="btn btn-secondary radius size-S" onclick="floorgoods()" value="查&nbsp;&nbsp;询">
                                <input  type="button" class="btn btn-secondary radius size-S ml-10" onclick="newInformation(1)" value="新&nbsp;&nbsp;增">
                            </div>

                        </td>

                    </tr>

                    </thead>
                </table>
            </div>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="floorgoodstables">
                <thead>
                <tr class="text-c">
                    <th>商品名称</th>
                    <th>SPU码</th>
                    <th>商品上下架状态</th>
                    <th>SKU码</th>
                    <th>展示顺序</th>
                    <th style="width: 212px;">操作</th>
                </tr>
                </thead>
                <tbody class="shun">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>

            </div>
        </div>


    </div>
    <div id="newInformation" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;">
        <div class="modal-dialog" style="top:30%;margin-top:-225px">
            <div class="modal-content radius" style="height:250px;width:440px;">

                <div class="modal-header"  >
                    <a class="close" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true" >×</a>
                </div>
                <div class="mt-20" style="margin-left: 128px;">
                   <label> 当前楼层：</label>
                  <span id="floorManagementname"></span>
                </div>
                <input id="floorIds"style="display: none">
                <div class="mt-20" style="margin-left: 128px;">
                    <label> SKU编码：</label>
                    <input type="text" style="width: 156px;" id="skuCode" class="input-text radius  w-150"   autocomplete="off">
                </div>
                <div class="mt-20" style="margin-left: 128px;">
                    <label> 展示顺序：</label>
                    <input type="text" style="width: 156px;" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" id="skuOrder" class="input-text radius  w-150"   autocomplete="off">
                </div>
                <div class="text-c" style="padding-top: 32px">
                    <a onclick="addFloorProductMsg()" class="btn btn-secondary radius size-S">确定</a>
                    <a onclick="closeFloorProductMsg()" class="btn radius size-S mr-10 ml-10">取消</a>
                </div>
            </div>
        </div>
    </div>

</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../../lib/pagination/pagination.css">
<script src="../../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../ht-js/power.js?rev=@@hash"></script>
<script src="../../../../ht-js/operation-js/floorManagement/floormanagementEditor.js?rev=@@hash"></script>


<script>

    jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
        var $tab_menu = $(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();
        $tab_menu.bind(tabEvent, function() {
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index = $tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show();
        });
    }

    $(function() {
        $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
    });

</script>
</body>
</html>